IQ's smoothstep trick